import Vue from 'vue'
import Router from 'vue-router'
import Hello from '../components/HelloFromVux'
import Type from '../views/Query/Type'
import Port from '../views/Query/Port'
import Turnaroundtime from '../views/Query/Turnaroundtime'

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
    {
      path: '/hello',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/type',
      name: 'Type',
      component: Type
    },
    {
      path: '/',
      name: 'Port',
      component: Port
    },
    {
      path: '/turnaroundtime',
      name: 'Turnaroundtime',
      component: Turnaroundtime
    }

  ]
})
